
<%@ page import="org.knowlege.Knowlege" %>
		<g:set var="entityName" value="${message(code: 'knowlege.label', default: 'Knowlege')}" />
		<div id="show-knowlege" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list knowlege">
			
				<g:if test="${knowlegeInstance?.knowlegeType}">
				<li class="fieldcontain">
					<span id="knowlegeType-label" class="property-label"><g:message code="knowlege.knowlegeType.label" default="Knowlege Type" /></span>
					
						<span class="property-value" aria-labelledby="knowlegeType-label"><g:link controller="knowlegeType" action="show" id="${knowlegeInstance?.knowlegeType?.id}">${knowlegeInstance?.knowlegeType?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${knowlegeInstance?.title}">
				<li class="fieldcontain">
					<span id="title-label" class="property-label"><g:message code="knowlege.title.label" default="Title" /></span>
					
						<span class="property-value" aria-labelledby="title-label"><g:fieldValue bean="${knowlegeInstance}" field="title"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${knowlegeInstance?.content}">
				<li class="fieldcontain">
					<span id="content-label" class="property-label"><g:message code="knowlege.content.label" default="Content" /></span>
					
						<span class="property-value" aria-labelledby="content-label"><g:fieldValue bean="${knowlegeInstance}" field="content"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${knowlegeInstance?.createUser}">
				<li class="fieldcontain">
					<span id="createUser-label" class="property-label"><g:message code="knowlege.createUser.label" default="Create User" /></span>
					
						<span class="property-value" aria-labelledby="createUser-label"><g:fieldValue bean="${knowlegeInstance}" field="createUser"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${knowlegeInstance?.dateCreated}">
				<li class="fieldcontain">
					<span id="dateCreated-label" class="property-label"><g:message code="knowlege.dateCreated.label" default="Date Created" /></span>
					
						<span class="property-value" aria-labelledby="dateCreated-label"><g:formatDate date="${knowlegeInstance?.dateCreated}" format="yyyy-MM-dd hh:mm"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${knowlegeInstance?.lastUpdated}">
				<li class="fieldcontain">
					<span id="lastUpdated-label" class="property-label"><g:message code="knowlege.lastUpdated.label" default="Last Updated" /></span>
					
						<span class="property-value" aria-labelledby="lastUpdated-label"><g:formatDate date="${knowlegeInstance?.lastUpdated}" format="yyyy-MM-dd hh:mm"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${knowlegeInstance?.priority}">
				<li class="fieldcontain">
					<span id="priority-label" class="property-label"><g:message code="knowlege.priority.label" default="Priority" /></span>
					
						<span class="property-value" aria-labelledby="priority-label"><g:fieldValue bean="${knowlegeInstance}" field="priority"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${knowlegeInstance?.product}">
				<li class="fieldcontain">
					<span id="product-label" class="property-label"><g:message code="knowlege.product.label" default="Product" /></span>
					
						<span class="property-value" aria-labelledby="product-label"><g:link controller="product" action="show" id="${knowlegeInstance?.product?.id}">${knowlegeInstance?.product?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${knowlegeInstance?.id}" />
					<g:link class="edit" action="edit" id="${knowlegeInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
